package com.mes.cloud.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * @Author: 郑样平
 * @Description:
 * @Date: 2019/12/9 15:38
 */
@Data
public class SysDictionaryDefaultFlagRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID", required = true)
    @NotEmpty(message = "主键ID不能为空!")
    private String id;

    @ApiModelProperty(value = "模块树ID", required = true)
    @NotEmpty(message = "模块树ID不能为空!")
    private String moduleTreeId;

    @ApiModelProperty(value = "0-未选中，1-默认", required = true)
    @NotEmpty(message = "默认选中不能为空")
    private String defaultFlag;
}
